package com.hz.dao;

import com.hz.pojo.Defaultd;
import com.hz.pojo.Purchase;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PurchaseDao {
    List<Purchase> getList();

    Purchase getListnum();

    int addDef(Purchase purchase);
}
